<?php
/*
   Because register_global is set to 1 (on)
   and the script never initialize or checks 
   the $admin variable you could simply add
   ?admin=2 to the url to "become" sysop.
*/


   /*
    * These are the values you want.
    * You don't have access to the "real" script with
    * the real values, these are fake. :)
    */
   
   $users_name  = 'Verath, Flabby, daMage<br />';
   $users_ip    = '127.0.0.1, 0.0.0.0, 255.0.0.0<br />';
   $users_pass  = '123, abc, 123abc<br />';
   
   
   echo ini_get('register_globals') . '<br />'; // prints 1

   switch($admin)
  {
      case 1:
         // forum admin (limited access)
         echo $users_name, $users_ip;
         break;
      case 2:
         // Sysop (show all)
         echo $users_name, $users_ip, $users_pass;
         break;
      default:
         // Not admin (no access)
         echo "You don't have admin access!";
   }
?>